PD Crypto Performer (Backtest)Description:
This is the backtesting version of the PD Crypto Performer (Alert) . The strategy assumes the same capital amount invested ($10,000) each trade. You can also see how your capital grows over time by enabling the reinvesting proceeds option. For details, please check out this tutorial . The backtesting results could be easily improved in live trading by following the recommended methods of use below.
To assist the decision-making process, the code currently references BTCUSD. As a result, it is only suitable for crypto traders. However, we are working on the stock and forex versions, and the Performer will have these compatibilities soon.
Most importantly, our signals DO NOT REPAINT !
Recommended Use:
- Time Frame: 1HR
- Asset: Large cap crypto assets.
For lower risk tolerance, we recommend using the indicator on ETHUSD. For maximizing profits, we recommend using the indicator on BCHUSD.
- Always set stop loss according to your own risk tolerance
- Take profits along the way.
Recommended Use for Advanced Traders:
- Position sizing:
Larger position if the 1HR signal is in the same direction compared to the 4HR trend.
Smaller position if the 1HR signal is in the opposite direction compared to the 4HR trend.
- Better entry/exit points:
Track the 1HR signal for the asset you are trading on other exchanges along with the BTCUSD 1HR signal. Sometimes, the signals from different exchanges occur with a 1-2 hour difference. You could use these earlier signals along with a lower time frame (eg. 15min) entry confirmation from your own exchange for better entry / exit points.
Go to www.phi-deltalytics.com and sign up for a FREE trial today!
Let us know if you have any questions or recommendations. We are here for your success!
Disclaimer:
It should not be assumed that the methods, techniques, or indicators presented will be profitable or that they will not result in losses. Past results are not necessarily indicative of future results. This is not a solicitation of any order to buy or sell.
Cari skrip untuk "stop loss"
Directional Momentum Flux StrategyDirectional Momentum Flux (DMF) is a compound indicator designed to surface signals of projected change in directional momentum. The primary goal is to identify possible momentum inflection points and signal them before they happen, which is reached by applying a set of well-known high-level indicators (e.g. DEMA, RSIs, CCIs and VWAP), lower-level indicators (e.g. BOP, PPO and RMOMO), and some special sauce brewed in-house by yours truly.
This strategy is invite-only. Invitations are offered for a one-time fee of $250 payable in several cryptocurrencies (ETH, BTC, DASH, XMR or ZEC). Once you've got an invitation, you will automatically receive updates forever*.
DMF was designed to work across multiple asset classes. Extensive backtesting has been performed over multiple sample series (not just during the bull runs, for example) and against a randomized pool of assets. But don't take my word for it, I've included some time-based backtesting support tools to make it easy-peasy for you to validate the results yourself!
Under the hood, DMF is powered by numerous indicators, including:
✓ Double EMA & Composite SMA;
✓ Double RSI (fast & slow, variable);
✓ Composite StochRSI & VWAP (StochRSI+, two series);
✓ Composite Commodity Channel Index (CCI+, two series);
✓ Volume-Weighted Balance of Power (BOP itself was adapted from BOP_LB, kudos to LazyBear);
✓ Percentage Price Oscillator (PPO, split, two series);
✓ Range-adjusted Momentum Oscillator (RMOMO, my fancy MOM variant);
It crunches all that data and generates signals which are issued in two ways:
✓ Vertical Bands (or VBs) - Entry/Exit windows as vertical bands that remain "lit" (e.g. the background of a series of candles is semi-opaque white) while the top-level signals are showing sufficiently strong BUY signals. These windows are the primary entry/exit targets and can be relied upon with sufficient risk mitigation (e.g. a reasonable stop-loss or other scale-out exit mechanism). A VB followed immediately by an egg is as good as gold.
✓ Eggs - Entry/Exit validation signals that confirm the condition indicated by VBs. A lit VB without an egg in the same or next candle session is considered to be valid , but not safe (see above warning). Waiting for an egg can improve performance at the risk of missing the best possible entry point. Consider your risk tolerance and act accordingly.
Basic Instructions:
✓ Configure The Settings! The defaults are pretty good, but don't be scared to try variations. For example, by default SHORT positions are disabled. You might want to enable them if your risk tolerance allows them. (IMO there's gold on both ends of the rainbow. 🌈)
✓ Pay attention to the VBs. If you see a lit band being placed in an otherwise dark area, it's a projected inflection point. This is expected to be validated and confirmed in the same or immediately following period with an egg. You can enter a LONG position at this time.
✓ Pay attention to the eggs. If you see an egg, it's a confirmation that the VB changes in the same or immediately preceding candle period is valid. If you did not enter or exit your position at the point of the VB shift, now is the time to do so.
✓ Watch for the end of a VB period and be prepared to exit your position quickly as the next egg may be accompanied by a large directional momentum inflection.
Things to Note:
📉 - DMF is designed for day trading with aggressive position TTLs (15m was the upper bound during development and strategy testing). It appears to issue valid signals for other intervals, but it was not designed for >15m and YMMV. Don't go manually opening a LONG with no exit strategy and go to sleep... it probably won't work out to your benefit. You should be prepared to exit positions at any time. (Pro tip: automation is your friend!)
💸 - DMF indicator is not free from risk. As with all investment strategies, it is crucial to exercise caution and only trade with funds you are comfortable losing. DMF does not offer any form of guarantee or warranty, implied or otherwise. If you lose money, your house, your 401K... that's on you. (Pro tip: don't risk anything you're not ready to lose, because losses are part of the game and you WILL have them.)
🤔 - By using this indicator, you understand that any and all risks are the sole and complete responsibility of the end user (yeah, that's you). Don't use it if you're not 100% clear that you know exactly what you're doing. (Pro tip: always ask questions if you're feeling confused.)
⏱ - * Forever in this context means that, where room for improvement exists, I will improve it over time and you'll get all updates until I stop making them. (Pro tip: nobody lives forever.)
Megalodon Pro Automated Shorter Term Trader BacktesterSTRATEGY
When to buy: Green bar - Orange bar Closes
When to sell: Purple bar closes
Stop to trailing: No
Stop loss: No
Commission Rate: 1%
Willing to risk per trade: 10%
Maximum possible trades in one direction: 10
RESULTS
Net Profit without 1% commission: 112.64%
Net Profit with 1% commission: 103.92%
Starting Balance: $100,000
Profits Made: $103,918.38
New Balance with 1% commission: $203,918.38
Dates traded: 3/17/2019 and 8/3/2019
Total Close Trades: 80
Percent Profitable: 98.75%
Profit Factor: 152.158
Max Drawdown: 0.35% - $745.14
Buy & Hold Return: 174.66%
Commission Paid: $9621.46
Total Open Trades: 10
Number of Winning Trades: 79
Number of Losing Trades: 1
Avg Win Trade: 1.33%
Avg. Lose Trade: 0.92%
Largest Win Trade: 2.77%
Let me know what you guys think about the results?
Due to the tradingview's limitations on providing the shorter time frame price data, we had to provide a 60 minute time frame backtesting results.
The shorter time frames including 1 minute and 15 minutes backtesting results are way more accurate and precise than 60 minutes time frame results.
Megalodon Trading
Enlightening the Modern Investors
15MEX Momentum ScalperAlpha product project in development. Uses a combination of MACD and T3-CCI with tweaked settings to catch directional momentum and scalp a small move. Strategy is quantity of trades over quality of trades to build profits.
Use this strategy for 15-min Bitmex scalping on XBT contracts only. Recommend 100k contract size or less; backtested with 100k contracts.
Market enter, then use post-only limit exits and stop losses.
Setting is pre-optimized for 0.5% tp target and 0.5% sl of entry price. Recommend default 3 bars as basis for confirming recent MACD crossover as well as default 0.618 Fibonacci ratio as the T3-CCI basis.
Default risk level setting is approximately 2-3 trades a day. You can double the amount to 4-5 trades a day by enabling Aggressive mode. This may lead to larger profits and more entries, but with more frequent stop losses.
Future version will include trailing TPs/stops. Still undergoing optimization and refinement.
RePaNoCHa [Backtest]This is a very long script and adjusting the settings can be a bit slow so I share some settings. (these may be even better)
It has no security() and no Heikin Ashi so no repaint and Backtest is real.
It's important to adjust correctly the tics/pips correction.
All timeframes but good results at 2H
Default settings for ETHUSD (BITMEX) 2H
Alerts version coming soon...
Enjoy!!!
"Este script es la repanocha"
XBTUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 8
T3 Volume Factor = 0.9
Range Filter+ADX == true
Sampling Period = 16
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 10
ADX Threshold = 20
Parabolic SAR == true
SAR start = 0.03
SAR inc = 0.02
SAR max = 0.3
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.2
Trailing Stop Offset % (when profit=10 %) = 1.2
Stop Loss = 3.2
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
ETHUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 6
T3 Volume Factor = 0.7
Range Filter+ADX == true
Sampling Period = 10
Range Multiplier = 0.9
Flat Market Trades == true
ADX lenght = 11
ADX Threshold = 19
Parabolic SAR == true
SAR start = 0.06
SAR inc = 0.07
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss = 3.2
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
BNBUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 == true
T3 Length = 6
T3 Volume Factor = 0.7
Range Filter+ADX == true
Sampling Period = 17
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 5
ADX Threshold = 18
Parabolic SAR == true
SAR start = 0.04
SAR inc = 0.03
SAR max = 0.25
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 10000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
LTCUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 11
Range Multiplier = 1.1
Flat Market Trades == true
ADX lenght = 6
ADX Threshold = 22
Parabolic SAR == true
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
TRXUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 == true
T3 Length = 7
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 8
Range Multiplier = 1.1
Flat Market Trades == true
ADX lenght = 4
ADX Threshold = 22
Parabolic SAR == true
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
NAS100 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 12
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 18
ADX Threshold = 21
Parabolic SAR == true
SAR start = 0.08
SAR inc = 0.06
SAR max = 0.25
Pyramiding = 15
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss == false
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 3 contracts
Commission value = 0.2 USD per contract
NATGAS(OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 15
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 12
ADX Threshold = 21
Parabolic SAR == true
SAR start = 0.08
SAR inc = 0.06
SAR max = 0.4
Pyramiding = 15
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss == false
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 4500 contracts
Commission value = 0.002 USD per contract
SPX500 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 4
T3 Volume Factor = 0.8
Range Filter+ADX == true
Sampling Period = 14
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 12
ADX Threshold = 17
Parabolic SAR == true
SAR start = 0.09
SAR inc = 0.04
SAR max = 0.2
Pyramiding = 15
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 0.5
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 8 contracts
Commission value = 0.2 USD per contract
US30 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 4
T3 Volume Factor = 0.9
Range Filter+ADX == true
Sampling Period = 11
Range Multiplier = 1.1
Flat Market Trades == true
ADX lenght = 16
ADX Threshold = 24
Parabolic SAR == true
SAR start = 0.08
SAR inc = 0.03
SAR max = 0.05
Pyramiding = 15
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.075
Trailing Stop Offset % (when profit=10 %) = 0.5
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 1 contracts
Commission value = 1.5 USD per contract
WHEAT (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1.1
Range Filter+ADX == true
Sampling Period = 12
Range Multiplier = 0.9
Flat Market Trades == true
ADX lenght = 13
ADX Threshold = 21
Parabolic SAR == true
SAR start = 0.1
SAR inc = 0.05
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 2.5
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 2500 contracts
Commission value = 0.003 USD per contract
Bedrock Bot - BTCUSD 30m Scalper BotBedrock Bot trades on BTCUSD charts and is a high frequency scalper bot - for those that like a little more action.
The strategy was developed for use on more recent market conditions - smaller trends within larger sideways ranges. It will work in trends as well. It is made for quick take profits and tight stop losses to maximize overall profit and minimize losses (check out the win ratio and downdraw results). It does not trade on the weekends as much of the volume is now weekday based.
Backtest results look great and we have been running this bot on live markets as well in forward testing with profit results.
These live tests were done exclusively on BitMex and by using automation on Crypto Bots Hub . Monthly returns have been around 8% - you may think this doesn't sound amazing but understand compound interest and do check out the win percentage and downdraw. In these sideways markets, this can keep building your profits slow and steady with minimal risk.
The bot controls entries, stop losses, and take profits as part of the code.
Message me on information to get free access.
cryptomars 1.0 signal Concussion trend
Description:
1. In the indicator, there is an orange signal that fluctuates linearly. It is a buy signal when it goes from bottom to top. When the signal line remains in the upper position, it indicates a multi-party trend.
2. When it goes from top to bottom, it indicates a sell signal. When the signal line remains below, it indicates a sales trend.
3. Depending on the time level, when the position of the signal line changes, determine whether the current candle is completed or not according to the time level of the chart you selected to determine the signal. For example, if you select a chart level of 5 meters, then when the signal line changes, for example, it will send a sell signal from top to bottom. At this time, please do not rush to sell. You should wait for this 5 meter candlestick to complete. When the candle is over and the next candle is started, if the signal line remains in the top-down form, the sell signal is normal and you can sell it.
Because the position of the signal appears, it is the location of the sale. During the completion of the candlestick , the signal may disappear after disappearing. We only have to wait for a while to get a more stable deal.
4. The alarm setting is very simple. There are two lines in the indicator. One is the orange signal line that fluctuates up and down, and the other is the fixed zero line of “zero”.
We set it in the alarm. When the signal line passes "zero" from the top, the short signal is sent only when the candle map is completed. When the signal line passes "zero" from "up" below, the signal is sent for a long time when the candlestick is completed.
One trick, the appearance of the signal, is that the price runs in one direction for a while, so it appears at or near the bottom. Because, when we have already made a profit in the transaction, we can make a profit in advance, and we do not need to wait for the opposite signal to stop the profit and reduce the risk of profit retracement.
Because in this market, the fluctuations are very large, and the people who compete are also very fierce. What we need to do is to make every transaction as possible, and we are all profitable. If we sell and find that the price is still rising, please don't feel sorry, don't consider eating all the profits.
6. When the signal appears, in most cases, even in the impact trend, it will still run a distance in the direction of the signal, that is, you will profit, so please close the position and make a profit in time. Otherwise, when the price volatility is too small, you miss the profit point, the price starts to run in the opposite direction, and you may change from profit to loss.
BITMEX's trailing stop loss is a great feature, please use it flexibly.
7, if it is a shock trend, please try not to trade.
8. We recommend that you turn on the “cryptomars 3.0” and “cryptomars 2.0” indicators. No matter who signs the trade first, you can trade, which can help you get more profit.
9. Remember, I hope this indicator will be your powerful assistant, but please don't rely on it completely. Learning more trading knowledge and skills is even more important. Therefore, when we consider the profitable position, you can use your trading skills, MACD , KDJ, etc. to assist and profit in a more suitable position.
cryptomars signal short 2.0Description:
1. In the indicator, there is an orange signal that fluctuates linearly. It is a buy signal when it goes from bottom to top. When the signal line remains in the upper position, it indicates a multi-party trend.
2. When it goes from top to bottom, it indicates a sell signal. When the signal line remains below, it indicates a sales trend.
3. Depending on the time level, when the position of the signal line changes, determine whether the current candle is completed or not according to the time level of the chart you selected to determine the signal. For example, if you select a chart level of 5 meters, then when the signal line changes, for example, it will send a sell signal from top to bottom. At this time, please do not rush to sell. You should wait for this 5 meter candlestick to complete. When the candle is over and the next candle is started, if the signal line remains in the top-down form, the sell signal is normal and you can sell it.
Because the position of the signal appears, it is the location of the sale. During the completion of the candlestick , the signal may disappear after disappearing. We only have to wait for a while to get a more stable deal.
4. The alarm setting is very simple. There are two lines in the indicator. One is the orange signal line that fluctuates up and down, and the other is the fixed zero line of “zero”.
We set it in the alarm. When the signal line passes "zero" from the top, the short signal is sent only when the candle map is completed. When the signal line passes "zero" from "up" below, the signal is sent for a long time when the candlestick is completed.
One trick, the appearance of the signal, is that the price runs in one direction for a while, so it appears at or near the bottom. Because, when we have already made a profit in the transaction, we can make a profit in advance, and we do not need to wait for the opposite signal to stop the profit and reduce the risk of profit retracement.
Because in this market, the fluctuations are very large, and the people who compete are also very fierce. What we need to do is to make every transaction as possible, and we are all profitable. If we sell and find that the price is still rising, please don't feel sorry, don't consider eating all the profits.
6. When the signal appears, in most cases, even in the impact trend, it will still run a distance in the direction of the signal, that is, you will profit, so please close the position and make a profit in time. Otherwise, when the price volatility is too small, you miss the profit point, the price starts to run in the opposite direction, and you may change from profit to loss.
BITMEX's trailing stop loss is a great feature, please use it flexibly.
7, if it is a shock trend, please try not to trade.
8. We recommend that you turn on the “cryptomars 3.0” and “cryptomars 1.0” indicators. No matter who signs the trade first, you can trade, which can help you get more profit.
9. Remember, I hope this indicator will be your powerful assistant, but please don't rely on it completely. Learning more trading knowledge and skills is even more important. Therefore, when we consider the profitable position, you can use your trading skills, MACD , KDJ, etc. to assist and profit in a more suitable position.
cryptomars signal 3.0Description:
1. In the indicator, there is an orange signal that fluctuates linearly. It is a buy signal when it goes from bottom to top. When the signal line remains in the upper position, it indicates a multi-party trend.
2. When it goes from top to bottom, it indicates a sell signal. When the signal line remains below, it indicates a sales trend.
3. Depending on the time level, when the position of the signal line changes, determine whether the current candle is completed or not according to the time level of the chart you selected to determine the signal. For example, if you select a chart level of 5 meters, then when the signal line changes, for example, it will send a sell signal from top to bottom. At this time, please do not rush to sell. You should wait for this 5 meter candlestick to complete. When the candle is over and the next candle is started, if the signal line remains in the top-down form, the sell signal is normal and you can sell it.
Because the position of the signal appears, it is the location of the sale. During the completion of the candlestick , the signal may disappear after disappearing. We only have to wait for a while to get a more stable deal.
4. The alarm setting is very simple. There are two lines in the indicator. One is the orange signal line that fluctuates up and down, and the other is the fixed zero line of “zero”.
We set it in the alarm. When the signal line passes "zero" from the top, the short signal is sent only when the candle map is completed. When the signal line passes "zero" from "up" below, the signal is sent for a long time when the candlestick is completed.
One trick, the appearance of the signal, is that the price runs in one direction for a while, so it appears at or near the bottom. Because, when we have already made a profit in the transaction, we can make a profit in advance, and we do not need to wait for the opposite signal to stop the profit and reduce the risk of profit retracement.
Because in this market, the fluctuations are very large, and the people who compete are also very fierce. What we need to do is to make every transaction as possible, and we are all profitable. If we sell and find that the price is still rising, please don't feel sorry, don't consider eating all the profits.
6. When the signal appears, in most cases, even in the impact trend, it will still run a distance in the direction of the signal, that is, you will profit, so please close the position and make a profit in time. Otherwise, when the price volatility is too small, you miss the profit point, the price starts to run in the opposite direction, and you may change from profit to loss.
BITMEX's trailing stop loss is a great feature, please use it flexibly.
7, if it is a shock trend, please try not to trade.
8. We recommend that you turn on the “cryptomars 2.0” and “cryptomars 1.0” indicators. No matter who signs the trade first, you can trade, which can help you get more profit.
9. Remember, I hope this indicator will be your powerful assistant, but please don't rely on it completely. Learning more trading knowledge and skills is even more important. Therefore, when we consider the profitable position, you can use your trading skills, MACD , KDJ, etc. to assist and profit in a more suitable position.
Bollinger + RSI, Double Strategy (by ChartArt)Bollinger Bands + RSI, Double Strategy
This strategy uses a slower RSI with period 16 to sell when the RSI increases over the value of 55 (or to buy when the value falls below 45), with the classic Bollinger Bands strategy to sell when the price is above the upper Bollinger Band and falls below it (and to buy when the price is below the lower band and rises above it). This strategy only triggers when both the RSI and the Bollinger Bands indicators are at the same time in the described overbought or oversold condition. In addition there are color alerts which can be deactivated.
This basic strategy is based upon the "RSI Strategy" and "Bollinger Bands Strategy" which were created by Tradingview and uses no money management like a trailing stop loss and no scalping methods. Every win/loss trade is simply counted from the last overbought/oversold condition to the next one.
This strategy does not use close prices from higher-time frame and should not repaint after the current candle has closed. It might repaint like every Tradingview indicator while the current candle hasn't closed.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
ATR BuySideATR Buyside Strategy
This is a simple buy-only trading plan. It uses ATR (a tool to measure price swings) to spot when prices are rising strongly.
How it works:
Buy signal: Enter a long trade when the price moves above a moving support line (based on ATR)
Sell signals: Close if the trend turns down (quick market sell).
Stop loss: Follows the support line to protect gains.
Take profit: Sell at 2 times the recent price swing (for steady wins).
Settings you can change:
ATR period: 13 (how many days to look back).
Factor: 2.0 (makes the line wider or tighter).
Use Heikin Ashi: To Filter out Noise
Great for Opt premiums like NIFTY on 15min or 30m charts. Test it first—past results don't guarantee future wins. Not advice, just a tool!
TMB Invest - Smart Money Concept StrategyEnglish:
**Quick Overview**
The "TMB_SMC_Strategy_v1.1.3" combines a classic trend filter using two EMAs with contrarian RSI entries and simple SMC elements (Fair Value Gaps & Order Blocks). Stop-loss and take-profit orders are volatility-adaptive and controlled via the ATR. An integrated dashboard displays the setup status, stop-loss/take-profit levels, entry reference, and trend, RSI, and ATR values.
---
## Operating Principle
1. **Trend Filter:** A fast EMA (default 50) is compared to a slow EMA (default 200). Trading occurs only in the direction of the trend: long in uptrends, short in downtrends.
2. **Timing via RSI:** Contrarian entries within the trend. Go long when the RSI is below a buy level (default 40); Short when the RSI is above a sell level (standard 60).
3. **Structure Check (SMC Proxy):** An "FVG Touch" serves as additional confirmation that an inefficient price zone has been tested. Order blocks are visualized for guidance but are not a direct entry trigger.
4. **Risk Management via ATR:** Stop-loss and take-profit levels are set as multipliers of the current ATR (e.g., SL = 1×ATR, TP = 2×ATR). This allows target and risk distances to adjust to market volatility.
5. **Simple Position Logic:** Only one position is held at a time (no pyramiding). After entry, stop and limit orders (bracket exit) are automatically placed.
---
## Input Values
* **EMA Fast / EMA Slow:** Lengths of the moving averages for the trend filter.
* **RSI Length / Levels:** Length of the RSI as well as buy and sell thresholds (contra signals within the trend direction).
* **Take Profit (RR) / Stop Loss (RR):** ATR multipliers for TP and SL.
* **Show FVGs & Order Blocks:** Toggles the visual SMC elements (zones/boxes) on or off.
--
## Signals & Execution
* **Long Setup:** Uptrend (fast EMA above slow EMA) **and** RSI below the buy level **and** a current FVG signal in a bullish direction.
* **Short Setup:** Downtrend (fast EMA below slow EMA) **and** RSI above the sell level **and** a current FVG touch in a bearish direction.
* **Entry & Exit:** If the setup is met, the market is entered; stop-loss/take-profit orders are placed immediately according to ATR multiples.
--
## Visualization
* **EMAs:** The fast and slow EMAs are plotted to illustrate the trend.
* **FVGs:** Fair Value Gaps are drawn as semi-transparent boxes in the trend color and projected slightly into the future.
* **Order Blocks:** Potential order block zones from the previous candle are visually highlighted (for informational purposes only).
---
## Integrated Dashboard
A compact table dashboard (bottom left) displays:
* Current **Setup Status** (Long/Short active, Long/Short ready, No Setup),
* **Stop-Loss**, **Take-Profit**, and **Entry Reference**,
* **Trend Status** (Bull/Bear/Sideways),
* **RSI Value**, and **ATR Value**.
Active long/short positions are highlighted in color (green/red).
--
## Practical Guide
1. **Place on Chart** and select the desired timeframe.
2. **Calibrate Parameters** (EMA lengths, RSI levels, ATR multipliers) to match the market and timeframe.
3. **Backtest** across different market phases; prioritize robustness over maximum curve fit.
4. **Fine-Tuning:**
* Shorter EMAs are often useful intraday (e.g., 20/100 or 34/144).
* Adjust RSI levels to market characteristics (45/55 for aggressive trading, 30/70 for conservative trading).
* Increase or decrease ATR multipliers depending on volatility/trading style.
--
## Notes, Limitations & Extensions
* **FVG Definition:** The FVG detection used here is intentionally simplified. Those who prefer a more rigorous approach can switch to a 3-candle definition and fill levels.
* **Order Blocks:** These primarily serve as a guide. Integration into entry/exit logic (e.g., retests) is possible as an extension.
* **Backtest Realism:** Fills may differ from the displayed closing price. For greater accuracy, intrabar backtests or an entry indicator based on the average position price are conceivable.
* **Alerts:** Currently, no alert conditions are defined; these can be added for long/short setups and status messages.
* **Position Management:** By default, no scaling is performed. Partial sales, trailing stops, or multiple entries can be added.
---
## Purpose & Benefits
The strategy offers a clear, modular framework: trend filter (direction), RSI contra timing (entry), SMC proxy via FVG Touch (structure), and ATR-based exits (risk adaptation). This makes it robust, easy to understand, and highly extensible—both for discretionary traders who appreciate visual SMC elements and for systematic testers who prefer a clean, parameterizable foundation.
NY ORB - Full Dynamic SystemNY ORB - Full Dynamic Strategy Summary
1. Opening Range and Session Timing
Opening Range (ORB) Calculation: The strategy identifies the ORB High and ORB Low by tracking the highest high and lowest low during the specified New York pre-market window, which is set by default from 8:30 to 8:45 (New York time).
Entry Window: Trading activity is restricted to a specific entry period, typically starting shortly after the ORB is established (default: 8:50 to 12:00).
Hard Exit Time: Any remaining open positions are automatically closed at a fixed exit time (default: 13:25).
2. Trade Entry Logic and Filters
An entry (Long or Short) is generated when the price breaks out of the established ORB, provided it passes a series of optional filters:
Direction Control: The user can restrict the strategy to trade Long Only, Short Only, or Both.
Second Breakout Logic: An optional filter that requires the price to break out, reverse back into the range, and then break out again, confirming momentum after a consolidation.
Confirmation Candle Count: An optional filter that checks the close of a previous candle (e.g., 1 or 2 candles ago) to ensure the price was still inside the range, preventing premature entry.
Technical Filters (Optional): The entry is only executed if it aligns with selected indicators:
RSI: Filters for non-overbought (Long) or non-oversold (Short) conditions.
MACD: Requires the MACD line to be above/below the Signal line for alignment.
VWAP: Requires the price to be above/below the Volume-Weighted Average Price.
Trend Filter (SMMA): Requires the price to be above/below a 50-period Simple Moving Average.
3. Dynamic Risk and Exit Management
This strategy features highly configurable stop-loss and profit-taking mechanics:
Primary Stop Loss Methods: The Stop Loss distance can be dynamically chosen from four types:
Fixed: A fixed number of ticks.
ATR: Based on a multiple of the Average True Range (ATR).
Capped ATR: ATR-based, but with a hard maximum tick limit.
OR-Based: Based on a multiple of the actual ORB High-to-Low range.
Dynamic Profit Target: The Take Profit level is calculated dynamically based on a multiplier of either the ATR or the ORB Range.
Breakeven Stop:
If enabled, the Stop Loss automatically moves to the entry price (Breakeven) once the price moves a predetermined distance in the profitable direction.
An Adaptive Breakeven option allows the trigger distance to be calculated as a percentage of the overall ATR Profit Target.
Trailing Stop: The strategy uses a trailing stop, which can be custom-set (fixed ticks) or dynamically tied to the ATR. An optional feature Auto Tighten Trailing reduces the trailing multiplier once the breakeven level is hit.
MA Cross Exit: An alternative, counter-trend exit mechanism that closes the trade if the price crosses back over the chosen Moving Average (either SMMA or VWAP), overriding the pending profit target.
4. Daily Account Management
The strategy includes crucial daily risk controls to protect capital and lock in profits:
Daily Profit Limit: If the total daily PnL (realized and unrealized) hits a predefined maximum profit threshold (in ticks), all trades are closed, and new entries are blocked for the remainder of the trading day.
Daily Loss Limit: Conversely, if the total daily PnL hits a predefined maximum loss threshold, all trades are closed, and new entries are blocked for the remainder of the day.
First CoSD Directional Strategy (4:1 RR)This strategy is optimized for the four hour EURUSD. It captures directional momentum by trading the first confirmed Change of State of Delivery (CoSD) — a structural break above the most recent swing high (bullish) or below the most recent swing low (bearish). Once a CoSD is detected, the strategy enters in that direction and holds the position until an opposing CoSD occurs.
Key features:
✅ Directional bias lock: Only one trade per directional shift. No re-entries until reversal.
✅ Swing-based stop loss: SL is anchored to the most recent structural level — swing low for longs, swing high for shorts.
✅ 4:1 reward-to-risk targeting: TP is calculated as four times the distance between entry and SL.
✅ Clean displacement logic: No indicators, no noise — just price structure and delivery.
This strategy is ideal for traders who want to align with market structure and displacement without overtrading. It’s built for clarity, discipline, and directional conviction.
First CoSD Directional StrategyThis strategy is optimized for EURUSD on the 4-hour timeframe.
This strategy captures directional momentum by trading the first confirmed Change of State of Delivery (CoSD) — a structural break above the most recent swing high (bullish) or below the most recent swing low (bearish). Once a CoSD is detected, the strategy enters in that direction and holds the position until an opposing CoSD occurs.
Key features:
✅ Directional bias lock: Only one trade per directional shift. No re-entries until reversal.
✅ Swing-based stop loss: SL is anchored to the most recent structural level — swing low for longs, swing high for shorts.
✅ 2:1 reward-to-risk targeting: TP is calculated as twice the distance between entry and SL.
✅ Clean displacement logic: No indicators, no noise — just price structure and delivery.
This strategy is ideal for traders who want to align with market structure and displacement without overtrading. It’s built for clarity, discipline, and directional conviction.
Enhanced MA Crossover Pro📝 Strategy Summary: Enhanced MA Crossover Pro
This strategy is an advanced, highly configurable moving average (MA) crossover system designed for algorithmic trading. It uses the crossover of two customizable MAs (a "Fast" MA 1 and a "Slow" MA 2) as its core entry signal, but aggressively integrates multiple technical filters, time controls, and dynamic position management to create a robust and comprehensive trading system.
💡 Core Logic
Entry Signal: A bullish crossover (MA1 > MA2) generates a Long signal, and a bearish crossover (MA1 < MA2) generates a Short signal. Users can opt to use MA crossovers from a Higher Timeframe (HTF) for the entry signal.
Confirmation/Filters: The basic MA cross signal is filtered by several optional indicators (see Filters section below) to ensure trades align with a broader trend or momentum context.
Position Management: Trades are managed with a sophisticated system of Stop Loss, Take Profit, Trailing Stops, and Breakeven stops that can be fixed, ATR-based, or dynamically adjusted.
Risk Management: Daily limits are enforced for maximum profit/loss and maximum trades per day.
⚙️ Key Features and Customization
1. Moving Averages
Primary MAs (MA1 & MA2): Highly configurable lengths (default 8 & 20) and types: EMA, WMA, SMA, or SMMA/RMA.
Higher Timeframe (HTF) MAs: Optional MAs calculated on a user-defined resolution (e.g., "60" for 1-hour) for use as an entry signal or as a trend confirmation filter.
2. Multi-Filter System
The entry signal can be filtered by the following optional conditions:
SMA Filter: Price must be above a 200-period SMA for long trades, and below it for short trades.
VWAP Filter: Price must be above VWAP for long trades, and below it for short trades.
RSI Filter: Long trades are blocked if RSI is overbought (default 70); short trades are blocked if RSI is oversold (default 30).
MACD Filter: Requires the MACD Line to be above the Signal Line for long trades (and vice versa for short trades).
HTF Confirmation: Requires the HTF MA1 to be above HTF MA2 for long entries (and vice versa).
3. Dynamic Stop and Target Management (S/L & T/P)
The strategy provides extensive control over exits:
Stop Loss Methods:
Fixed: Fixed tick amount.
ATR: Based on a multiple of the Average True Range (ATR).
Capped ATR: ATR stop limited by a maximum fixed tick amount.
Exit on Close Cross MA: Position is closed if the price crosses back over the chosen MA (MA1 or MA2).
Breakeven Stop: A stop can be moved to the entry price once a trigger distance (fixed ticks or Adaptive Breakeven based on ATR%) is reached.
Trailing Stop: Can be fixed or ATR-based, with an optional feature to auto-tighten the trailing multiplier after the breakeven condition is met.
Profit Target: Can be a fixed tick amount or a dynamic target based on an ATR multiplier.
4. Time and Session Control
Trading Session: Trades are only taken between defined Start/End Hours and Minutes (e.g., 9:30 to 16:00).
Forced Close: All open positions are closed near the end of the session (e.g., 15:45).
Trading Days: Allows specific days of the week to be enabled or disabled for trading.
5. Risk and Position Limits
Daily Profit/Loss Limits: The strategy tracks daily realized and unrealized PnL in ticks and will close all positions and block new entries if the user-defined maximum profit or maximum loss is hit.
Max Trades Per Day: Limits the number of executed trades in a single day.
🎨 Outputs and Alerts
Plots: Plots the MA1, MA2, SMA, VWAP, and HTF MAs (if enabled) on the chart.
Shapes: Plots visual markers (BUY/SELL labels) on the bar where the MA crossover occurs.
Trailing Stop: Plots the dynamic trailing stop level when a position is open.
Alerts: Generates JSON-formatted alerts for entry ({"action":"buy", "price":...}) and exit ({"action":"exit", "position":"long", "price":...}).
VWAP Retest + EMA9 Cross + Candle Pattern V2📈 VWAP Retest + EMA9 Cross + Candle Pattern Strategy_V2
Setup: This intraday momentum strategy combines 3 core elements:
• VWAP Retest: Price retests VWAP within a small buffer zone
• EMA9 Crossover: EMA9 crosses above VWAP within the last 3 bars
• Bullish Candle Pattern: At least one bullish signal — Hammer, Engulfing, or Momentum candle
A trade is triggered only during the US morning session (9:30–12:30 EST) and only if price is above yesterday’s high, suggesting strong momentum.
⚙️ Strategy Settings
• Initial Capital: $100,000
• Position Sizing: 10% of equity per trade
• Commission: 0.03% per trade
• Slippage: 1 tick
• Take Profit: +3% from entry
• Stop Loss: 0.5% below VWAP at entry
• Forced Exit: 1:00 PM EST
📊 Strategy Logic
• VWAP Retest Filter ensures entry is near a value zone.
• EMA9 Cross Confirmation aligns short-term momentum with volume-weighted price.
• Bullish Candle Patterns provide price action confirmation:
○ ✅ Hammer
○ ✅ Bullish Engulfing
○ ✅ Large momentum body
• Above Yesterday’s High (YH) acts as a bullish bias filter.
🧪 Backtest Results (Jan 2023 – Oct 2025)
• Total Trades: 120
• Win Rate: 52.5%
• Profit Factor: 1.18
• Max Drawdown: 1.22%
• Net P&L: +$1,064 (+1.06%)
Due to chart data limits, only part of the period may be visible on publication charts.
🔍 Chart Visuals
This strategy plots:
• VWAP (white) and EMA9 (orange)
• Candle pattern markers:
○ “H” = Hammer
○ “BE” = Bullish Engulfing
○ “M” = Momentum Candle
• “SETUP” label when all conditions are met
• YH/YL labels for context — previous day’s high/low
💡 Use Case
This setup is designed for intraday momentum scalping, ideal for traders who:
• Trade morning breakouts
• Use VWAP as a dynamic support/resistance
• Want clear, rule-based entries based on both trend and price action
Educational and research use - not financial advice.
Supertrend Strategy With Multi Tp & TslHello Traders,
This strategy is based on the popular Supertrend indicator, which many traders use as a simple trend-following tool. The core entry logic is straightforward:
Buy (Long) when the price closes above the Supertrend line.
Sell (Short) when the price closes below the Supertrend line.
However, trading success isn’t only about entries — proper risk management makes all the difference. That’s why this strategy includes four stop-loss methods, two take-profit types, and a trailing stop-loss system. You can customize all of these settings to create your own personalized version.
🛑 Stop-Loss Methods
Tick – Uses the instrument’s smallest price increment. Ideal for tick-based markets such as Futures or Forex.
Percent – Defines the stop-loss as a percentage of entry price. Commonly used in Crypto trading.
ATR – Uses the Average True Range value to determine stop-loss distance. Perfect for adapting to changing market volatility.
Supertrend – The stop-loss level is set at the Supertrend line value at the time of entry.
🔁 Trailing Stop-Loss & Reverse Signals
Trailing SL: If enabled, the chosen stop-loss method will trail the price dynamically from the moment the position opens.
Close with Reverse Signals: When activated, the current position closes and reverses on an opposite signal. If disabled, the strategy waits until the current position is closed before opening a new one.
🎯 Take-Profit Options
Tick – Set a fixed take-profit level based on tick distance.
Percent – Set take-profit based on a percentage change from entry.
Ratio – Sets take-profit based on the entry-to-stop-loss distance × ratio value.
Each take-profit method allows you to define the percentage of position to close at that level.
⚖️ Breakeven Option
When Breakeven is enabled, after the first take-profit is triggered, the stop-loss automatically moves to the entry level, protecting your capital.
⚙️ Additional Settings
Position Type: Choose between Long only, Short only, or Both directions.
Session Filter: Trade only during specific time ranges. Activate this option and set your desired session hours (make sure to select your correct timezone).
📈 Visuals
The strategy plots entry, stop-loss, and take-profit levels directly on the chart, allowing you to clearly visualize your trades and manage them effectively.
Feel free to ask any questions or suggest improvements — this strategy is built for flexibility and experimentation!
Ekoparaloji Futures Cyrpto Strategy Ekoparaloji Futures Crypto Strategy - Ladder Averaging System
This strategy uses a ladder position entry (pyramiding) approach and average cost reduction principle for crypto futures markets.
Key Features:
Dynamic ladder entry system
Profit-taking mechanism based on average price
Adjustable leverage support (1x-125x)
Long and Short position management
Optional stop-loss protection
Liquidation distance tracking
Advantages:
✓ Optimizes average cost during price fluctuations
✓ User-controlled risk-reward ratio
✓ Adapts to different market conditions
✓ Provides detailed visual feedback
✓ Increases profit potential through pyramiding strategy
Risks:
⚠ High leverage usage increases liquidation risk
⚠ Losses can accumulate during trend continuation
⚠ Pyramiding adds capital requirements
⚠ May produce unexpected results in sideways markets
⚠ Past performance does not guarantee future results
Recommended Usage:
This strategy is optimized for testing particularly on 30-minute and 1-hour timeframes. It may produce different results across various crypto pairs and market conditions.
Important Warning:
This strategy is for educational and research purposes. Extensive testing on demo accounts is strongly recommended before using in live trading. Leveraged trading involves high risk and you can lose all your capital.
📩 Message me to test the strategy and get access.
Happy Trading! 🚀
MTF MACD + Accelerator Oscillator Strategy ※日本語説明は英文の下にあります。
Concept:
This is a multi-timeframe trend-following strategy that combines:
Higher timeframe MACD → determines the major trend direction.
Lower timeframe Accelerator Oscillator (AC) → identifies acceleration in momentum for optimal entry timing.
The strategy enters trades in the direction of the higher timeframe trend when the AC shows a momentum acceleration.
Entry Rules:
Long (Buy):
Higher timeframe MACD line > signal line (uptrend)
AC crosses above zero line on the lower timeframe
Short (Sell):
Higher timeframe MACD line < signal line (downtrend)
AC crosses below zero line on the lower timeframe
Exit Rules:
Take Profit: ATR(14) * 1.5 (configurable)
Stop Loss: ATR(14) * 1.0 (configurable)
Exit on opposite signal or if TP/SL is hit
Plotting:
AC is plotted on the chart (green for positive, red for negative)
Buy/Sell signals are marked with small triangles below/above bars
Customization:
Timeframe, MACD parameters, ATR multipliers can be adjusted in the input settings.
Works for scalping, day trading, or swing trading on various instruments.
---------------------------------------------------------------------
コンセプト:
この戦略はマルチタイムフレームのトレンドフォロー型で、以下を組み合わせています:
上位足MACD → 大きなトレンド方向を確認
下位足Accelerator Oscillator(AC) → モメンタム加速のタイミングを捉え、最適なエントリーを判断
上位足のトレンド方向に沿って、下位足でACが勢いの加速を示したタイミングでエントリーします。
エントリールール:
ロング(買い):
上位足MACDライン > シグナルライン(上昇トレンド)
下位足ACが0ラインを上抜け
ショート(売り):
上位足MACDライン < シグナルライン(下降トレンド)
下位足ACが0ラインを下抜け
エグジットルール:
利確:ATR(14) * 1.5(設定可能)
損切り:ATR(14) * 1.0(設定可能)
逆シグナル発生時やTP/SL到達時にも決済
チャート表示:
ACはチャート上にプロット(正なら緑、負なら赤)
買い/売りシグナルはバーの下/上に小さな三角で表示
カスタマイズ:
時間足、MACDパラメータ、ATR倍率は入力設定で変更可能
スキャルピング、デイトレード、スイングトレードなど幅広く利用可能
高频策略优化版-空头Open Condition Reversal: Change the condition of the TEMA fast line above the slow line to the condition of the fast line below the slow line RSI condition from " buy above the threshold " to " short below the threshold ", and adjust the default threshold from 30 to 70 (more suitable for shorting overbought area) moving average direction judgment from up to down stop-loss direction adjustment: Short stop-loss Settings above the entry price (entry price * (1 + i _ sl) ) Short stop-loss set below the entry price (entry price * (1-tp) Tracking stop-loss level adjusted to below the entry price MACD logic adjustment: Preferred use of the bearish pattern as a short signal bullish pattern for closing risk management: Maintained a dynamic stop-loss mechanism, adjusted to protect the market from the bottom of the visual stop-loss strategy: The visual marking of the ACD energy column is convenient for monitoring signals to be fully tested before use, especially for adjusting RSI thresholds and stop-loss parameters to suit the characteristics of specific trading varieties.
NQ Opening Range BreakoutOpening Range Breakout script with:
Customizable opening range timeframe selection.
Inputs for Risk to Reward ratio, EMAs, Vwap, and ATR sizing to avoid ranges that are too big or too small.
Features a toggle for reversal trades that when enabled will trade the other direction if the initial ORB gets stopped out.
Default it will use the entire opening range to determine stop loss and take profit and if neither the take profit or stop loss is hit it will end the trade at 16:00. There are toggles to use half the opening range as the stop loss and take profit will then be calculated as risk reward ratio * stop loss or you can select entry candle stop loss and risk reward ratio which places the stop loss at the entry candles opening price. There is also a take profit option that will only exit the trade when price closes below (for longs) or above (for shorts) a customizable ema length.
Note that if you have the opening range, for example, selected as 9:30 - 9:45 and are on a 5 minute chart it will enter on the first 5 min closure outside of that range and if you are on a 15 minute chart it will enter on the first 15 min closure outside of that range and so on.
You can automate the entries and exits by using a webhook service and using the strategy’s alerts.
G. Santostasi Bitcoin Power Law StrategyG. Santostasi Bitcoin Power Law Strategy
Overview
The "G. Santostasi Bitcoin Power Law Strategy" is a TradingView strategy script built upon the foundational Bitcoin Power Law Theory by physicist Giovanni Santostasi.
Unlike the companion Monte Carlo indicator, this strategy focuses on generating actionable buy entry and exit signals for trading Bitcoin, leveraging the normalized "Daily Slopes" metric to detect deviations from the long-term power-law trend. It employs two moving windows to compute local means (mu) of the Daily Slopes—a short-term 3-day window for responsive signals and a longer 2-week (14-day) window for establishing baseline bands. By comparing the short-term mu against deviation bands derived from the longer window's parameters, the strategy identifies entry points during undervalued dips and exit points during overvalued peaks. This approach capitalizes on Bitcoin's scale-invariant behavior, where price follows a power law
P(t)= c t^n, with n~5.9.
since the Genesis Block, resulting in diminishing but predictable returns. Backtested over Bitcoin's full history, the strategy boasts a 77% winning rate and a profit factor of 3.2, making it a robust tool for trend-following with mean-reversion elements. It emphasizes Bitcoin's long-term stability while navigating short-term oscillations, treating cycles as temporary deviations from the core power-law "DNA.
"Core Concept: Daily Slopes
The strategy inherits the Daily Slopes metric from the power-law framework, which normalizes daily logarithmic returns to reveal a stable local slope that oscillates around the global value of ~5.9.Definition and Calculation:
Daily log returns: log(P2/P1)\, where P2 and P1 are consecutive closing prices.
Normalization: Divide by log((t+1)/t), where ( t ) is days since the Genesis Block, yielding:
Daily Slope=log(P2/P1)log((t+1)/t).
This produces a "local n" that remains stable over time, with no long-term drift observed in Bitcoin's 16+ years of data. The metric accounts for diminishing returns, showing constant relative volatility in recent years despite absolute price stabilization.
Distribution and Parameters:
Daily Slopes are fitted to a t-location scale distribution over moving windows, estimating:μ (mu): The location/mean, stable around 5.9 globally.
σ (sigma): Scale/volatility measure.
ν (nu): Degrees of freedom for tail heaviness.
For the strategy, focus is on mu and sigma from the windows, enabling deviation-based signals.
Strategy Logic: Dual Moving Window Mus and Deviation Bands
The strategy computes two mus via rolling fits to the t-distribution:
Short Window mu (3 days): A fast-moving average of Daily Slopes, sensitive to immediate price action for timely signals.
Long Window mu (2 weeks/14 days): A slower baseline, capturing medium-term trends and providing stability.
Deviation bands are derived from the long window's mu and sigma:
Upper Band: Long mu + Long sigma
Lower Band: Long mu - Long sigma
These bands represent 1-standard-deviation ranges around the longer-term mean, highlighting overbought and oversold conditions relative to the power-law trend. The short mu acts as a "signal line," crossing the bands to trigger trades.
Plotting:
Short mu: Responsive line for crossovers.
Long mu: Central baseline.
Bands: Upper (+σ) and lower (-σ) lines from the long window.
Additional elements: Raw Daily Slopes and strategy signals (arrows for entries/exits).
Entry and Exit Rules:
The strategy generates long-only signals (buy/sell) based on crossovers, assuming a single-position approach without leverage or shorting:
Buy Entry: Triggered when the short-window mu crosses above the lower band (long mu - long sigma). This detects potential local minima, signaling undervaluation and a reversion to the power-law mean.
Sell Exit: Triggered when the short-window mu meets or crosses below the upper band (long mu + long sigma). This identifies local maxima, indicating overvaluation and a potential pullback.
Trade Management:
No stop-loss or take-profit hardcoded; users can add via TradingView settings.
Positions close on exit signals, with re-entry on the next valid buy.
Filters for false signals: Optional confirmation from global slope (e.g., only trade if long mu > 5.0) to align with bullish regimes.
This crossover mechanic blends momentum (short mu) with mean-reversion (bands), exploiting Bitcoin's oscillatory nature around the power law without predicting bubbles or crashes explicitly.
Performance Metrics:
Backtested on BTCUSD daily data from the Genesis Block to present (assuming continuous updates):Winning Rate: 77% – A high hit rate due to the strategy's focus on statistically stable deviations.
Profit Factor: 3.2 – Gross profits are 3.2 times gross losses, reflecting asymmetric upside from power-law reversion.
Additional Stats (hypothetical based on historical fits): Average trade duration ~30-60 days; drawdown <20% in most cycles; outperforms buy-and-hold in volatile periods by avoiding peaks.
Caveats: Past performance is not indicative of future results. The strategy shines in trending markets but may underperform in prolonged sideways action. Transaction costs (e.g., fees, slippage) not included in base metrics.
Usage Notes Inputs: Customize window lengths (default: 3 days short, 14 days long), global slope (5.9), and signal thresholds. Enable alerts for entries/exits.
Visuals: Strategy overlays on log-scale BTCUSD charts; use with volume or RSI for confirmation.
Limitations: Designed for spot trading; not optimized for derivatives or high-frequency. Assumes power-law persistence—major regime shifts (e.g., adoption plateaus) could impact efficacy.
Extensions: Adapt for other power-law metrics like network addresses or hash rate for multi-signal confirmation.
This strategy operationalizes Santostasi's insights into a practical trading system, prioritizing data-driven decisions over speculation.






















